package by.grsu.as.page;

import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.link.Link;


public class BasePage extends WebPage {

	@SuppressWarnings("serial")
	public BasePage() {
		super();
		add(new Link<Void>("home") {

			@Override
			public void onClick() {
				setResponsePage(HomePage.class);

			}
		});
		
		add(new Link<Void>("admins") {

			@Override
			public void onClick() {
				setResponsePage(ListAdminsPage.class);

			}
		});		
		
		add(new Link<Void>("zayavas") {

			@Override
			public void onClick() {
				setResponsePage(ListZayavasPage.class);

			}
		});
		
		add(new Link<Void>("cars") {

			@Override
			public void onClick() {
				setResponsePage(ListCarsPage.class);

			}
		});
		
		add(new Link<Void>("clients") {

			@Override
			public void onClick() {
				setResponsePage(ListClientsPage.class);

			}
		});
		
	}

	
}